Steven G. Johnson [Sat, 30 Mar 2019 20:05:50 +0000 (16:05 -0400)]
give up on Unifont for charwidth data (#150)
* fix CHARBOUND option for non-characters
* give up on unifont for charwidth computation
Steven G. Johnson [Sat, 30 Mar 2019 20:04:48 +0000 (16:04 -0400)]
Merge branch 'master' of https://github.com/JuliaLang/utf8proc
Steven G. Johnson [Sat, 30 Mar 2019 20:04:14 +0000 (16:04 -0400)]
doc clarification (closing #110)
Steven G. Johnson [Sat, 30 Mar 2019 19:22:25 +0000 (15:22 -0400)]
fix CHARBOUND option for non-characters (#149)
Steven G. Johnson [Sat, 30 Mar 2019 17:46:01 +0000 (13:46 -0400)]
update for unicode 12 (#148)
Steven G. Johnson [Sat, 30 Mar 2019 17:37:34 +0000 (13:37 -0400)]
rebased cmake updates (#147)
* Use a target property instead of CMAKE_C_FLAGS
It is a global property, which is not great when importing utf8proc in other CMake projects.
* Use target properties instead of add_definitions
It modifies builds settings globally, which is not great when using
the library as part of a bigger CMake build
* Expose header search path with target_include_directories
This makes it possible to use utf8proc in a larger CMake based project
with
add_subdirectory(utf8proc)
target_link_libraries(my_app utf8proc)
* more rebase fixes
Steven G. Johnson [Sat, 30 Mar 2019 17:17:21 +0000 (13:17 -0400)]
use Travis Julia support to get a modern Julia version (#146)
use Travis include: to specify Julia version
Steven G. Johnson [Thu, 1 Nov 2018 21:17:06 +0000 (17:17 -0400)]
fix Julia script for Julia 1.0
Graham Inggs [Thu, 1 Nov 2018 21:10:48 +0000 (23:10 +0200)]
Pass users' flags (#141)
Michael Drake [Thu, 1 Nov 2018 21:09:16 +0000 (21:09 +0000)]
Generate and install a pkg-config file. (#142)
* Generate and install a pkg-config file.
* Use Makefile libdir and includedir for pkg-config.
This splits the prefix out from these variables, so that
the same variables can be used to construct the pkg-config
file.
* Update the manifest for installation of pkg-config file.
* Revert "Use Makefile libdir and includedir for pkg-config."
This reverts commit
a4cd6dc64a357dd5b91781045b3ac1c4679af97f.
* Use Makefile libdir and includedir for pkg-config.
This splits the prefix out from these variables, so that
the same variables can be used to construct the pkg-config
file.
Steven G. Johnson [Wed, 25 Jul 2018 18:11:33 +0000 (14:11 -0400)]
link fix
Steven G. Johnson [Tue, 24 Jul 2018 17:35:48 +0000 (13:35 -0400)]
badge updates
Steven G. Johnson [Tue, 24 Jul 2018 17:32:15 +0000 (13:32 -0400)]
doc fixes, don't export stdint and limits.h values UINT16_MAX and SSIZE_MAX
Steven G. Johnson [Tue, 24 Jul 2018 17:25:51 +0000 (13:25 -0400)]
Merge branch 'master' of https://github.com/JuliaLang/utf8proc
Steven G. Johnson [Tue, 24 Jul 2018 17:25:38 +0000 (13:25 -0400)]
2.2 release date
Steven G. Johnson [Tue, 24 Jul 2018 17:24:56 +0000 (13:24 -0400)]
update copyright statement for data_generator
Steven G. Johnson [Tue, 24 Jul 2018 17:20:49 +0000 (13:20 -0400)]
copyright year updates
Steven G. Johnson [Tue, 24 Jul 2018 17:19:42 +0000 (13:19 -0400)]
note Unicode 11 in NEWS
Steven G. Johnson [Tue, 24 Jul 2018 17:18:48 +0000 (13:18 -0400)]
update data and algorithms for Unicode 11 (#140)
Steven G. Johnson [Tue, 24 Jul 2018 14:45:02 +0000 (10:45 -0400)]
charwidth=1 for soft hyphen and unassigned codepoints (#135)
* use width=1 for soft hyphen and for unassigned/PUA codepoints
* don't count unassigned codepoints when comparing with system wcwidth
* more tests
* indentation fixes
* NEWS for 135
* remove special-casing for arabic control characters affecting a span of numbers, which are sometimes zero-width and sometimes not
* regenerate
Nehal J Wani [Wed, 6 Jun 2018 14:16:07 +0000 (19:46 +0530)]
Enhance CMakeLists.txt (#138)
* Change name of static library if building with msvc
* Add install target for cmake
Steven G. Johnson [Wed, 2 May 2018 18:18:26 +0000 (14:18 -0400)]
uppercase mapping ß (U+00df) to ẞ (U+1E9E) (#134)
* uppercase(0x00df) = 0x1e9e
* tests for titlecase and u+00df uppercase
* NEWS, another test
Steven G. Johnson [Wed, 2 May 2018 12:23:40 +0000 (08:23 -0400)]
NEWS for upcoming 2.2 release, version bump
Steven G. Johnson [Wed, 2 May 2018 12:15:02 +0000 (08:15 -0400)]
Case folding fixes (#133)
* Fixes allowing for “Full” folding and NFKC_CaseFold compliance.
* Only include C (Common) and F (Full) foldings from CaseFolding.txt. Removed S (Simple) since F & S are specified to be exclusive.
* Extend UTF8PROC_IGNORE to also ignore unassigned codepoints (such as \u2065) which are specified as being discarded by NFKC_CF.
* Document the changes to UTF8PROC_IGNORE in header.
* Add NFKC_CF helper function with documentation.
* restore old IGNORE behavior, add UTF8PROC_STRIPNA, rename to utf8proc_NFKC_Casefold, add a test
* success message
* test that IGNORE does not strip NA
* data update
* NFKC_Casefold shouldn't strip NA
past-due [Mon, 30 Apr 2018 01:37:12 +0000 (21:37 -0400)]
Static library support improvements (#123)
* `#define UTF8PROC_STATIC` to disable DLLEXPORT
`#define UTF8PROC_STATIC` to disable DLLEXPORT
* [CMake] Automatically define UTF8PROC_STATIC if BUILD_SHARED_LIBS is off
* [Makefile] Support additional UTF8PROC_DEFINES, which can be used to specify flags like `-DUTF8PROC_STATIC`
past-due [Fri, 27 Apr 2018 16:55:53 +0000 (12:55 -0400)]
[CMake] Use target_compile_definitions to avoid affecting global definitions (#121)
Steven G. Johnson [Fri, 27 Apr 2018 16:51:07 +0000 (12:51 -0400)]
note Unicode 10 support
Steven G. Johnson [Fri, 27 Apr 2018 16:50:19 +0000 (12:50 -0400)]
update to unicode 10 (#132)
Steven G. Johnson [Fri, 27 Apr 2018 13:58:34 +0000 (09:58 -0400)]
version bump to 2.1.1 (#131)
Steven G. Johnson [Fri, 27 Apr 2018 13:30:37 +0000 (09:30 -0400)]
fix make clean
Steven G. Johnson [Fri, 27 Apr 2018 13:10:38 +0000 (09:10 -0400)]
missing return code, success message in test/misc.c
Steven G. Johnson [Fri, 27 Apr 2018 12:57:54 +0000 (08:57 -0400)]
make internal function static
Steven G. Johnson [Fri, 27 Apr 2018 12:23:10 +0000 (08:23 -0400)]
added test for #128
Benito van der Zander [Fri, 27 Apr 2018 12:06:14 +0000 (14:06 +0200)]
possible fix for #128 (#129)
Does this help? I do not really remember what I wrote back then
Ryan Schmidt [Wed, 18 Apr 2018 14:50:15 +0000 (09:50 -0500)]
Use LDFLAGS when building libutf8proc.dylib (#125)
Branko Čibej [Thu, 21 Sep 2017 16:27:24 +0000 (18:27 +0200)]
Fix declaration-after-statement warning when compiling in strict C90 mode. (#113)
Christopher Baker [Thu, 8 Jun 2017 16:29:54 +0000 (11:29 -0500)]
Update documentation to reflect Unicode 9.0.0. (#107)
This makes the inline documentation match the README.
Paul Smith [Sun, 19 Feb 2017 22:33:25 +0000 (17:33 -0500)]
Ensure generated const data tables are hidden via "static" (#100)
Jameson Nash [Sat, 18 Feb 2017 15:14:45 +0000 (15:14 +0000)]
don't set MAKE variable in Makefile (#99)
fix #95
Árpád Goretity [Sat, 14 Jan 2017 13:12:29 +0000 (14:12 +0100)]
removed inclusion of non-portable header file (#94)
Michael Hatherly [Wed, 4 Jan 2017 00:44:23 +0000 (02:44 +0200)]
Don't use cached version of UnicodeData.txt (#92)
Ref: https://github.com/JuliaLang/julia/pull/19725, UnicodeData.txt is
now being cached in JuliaLang/julia's build.
Steven G. Johnson [Mon, 26 Dec 2016 21:01:42 +0000 (16:01 -0500)]
fix typo in NEWS date
Steven G. Johnson [Mon, 26 Dec 2016 20:52:48 +0000 (15:52 -0500)]
version 2.1 release
Steven G. Johnson [Sun, 11 Dec 2016 21:42:24 +0000 (16:42 -0500)]
update NEWS [ci skip]
Steven G. Johnson [Sun, 11 Dec 2016 21:35:27 +0000 (16:35 -0500)]
update to unifont 9.0.04
Steven G. Johnson [Sun, 11 Dec 2016 21:18:52 +0000 (16:18 -0500)]
whoops
Steven G. Johnson [Sun, 11 Dec 2016 21:17:11 +0000 (16:17 -0500)]
use ptrdiff_t rather than ssize_t, as ssize_t is non-standard (it is POSIX, not C)
Steven G. Johnson [Sun, 11 Dec 2016 12:15:53 +0000 (07:15 -0500)]
use stdbool.h and inttypes.h in MSVC 2013 and later, and use more C99-compatible definitions of false and true earlier (fix #90)
Steven G. Johnson [Wed, 30 Nov 2016 15:46:01 +0000 (10:46 -0500)]
update .gitignore for custom test
Steven G. Johnson [Wed, 30 Nov 2016 15:40:26 +0000 (10:40 -0500)]
new utf8proc_map_custom for hooking in user-defined custom mappings (#89)
* new utf8proc_map_custom for hooking in user-defined custom mappings
* whoops, add test program
* NEWS, version bump for 2.1
* change test functions to static so that gcc doesn't complain about missing prototypes
Steven G. Johnson [Wed, 30 Nov 2016 15:09:18 +0000 (10:09 -0500)]
silence MSVC warning about conversion to uint8 (fix #86)
Steven G. Johnson [Tue, 29 Nov 2016 18:49:03 +0000 (13:49 -0500)]
typo in docstrings
Michael Drake [Mon, 21 Nov 2016 14:22:39 +0000 (14:22 +0000)]
Tlsa/ucs4 normalize (#88)
* Split codepoint sequence normalisation out into separate function.
This creates utf8proc_normalize_utf32() which takes and returns
a UTF-32 string, applying the following options:
- UTF8PROC_NLF2LS
- UTF8PROC_NLF2PS
- UTF8PROC_NLF2LF
- UTF8PROC_STRIPCC
- UTF8PROC_COMPOSE
- UTF8PROC_STABLE
The utf8proc_reencode() function has been updated to call the
new utf8proc_normalize_utf32().
* Update code documentation: utf8proc_reencode handles UTF8PROC_CHARBOUND.
Jakub Vít [Sun, 4 Sep 2016 18:44:39 +0000 (19:44 +0100)]
Change definition of UINT16_MAX macro (#84)
Change UINT16_MAX from `~(utf8proc_uint16_t)0` to fixed value `65535U` to prevent weird behaviour in complex expressions.
Steven G. Johnson [Wed, 27 Jul 2016 12:04:38 +0000 (08:04 -0400)]
add missing links
Steven G. Johnson [Wed, 27 Jul 2016 11:59:43 +0000 (07:59 -0400)]
date fix in NEWS
Tony Kelman [Wed, 27 Jul 2016 11:58:49 +0000 (04:58 -0700)]
NEWS and version numbers for 2.0.2 (#81)
* Add NEWS.md items for #79 and #80
* Prepare version numbers for 2.0.2
* Also update API version to 2.0.2
Tony Kelman [Tue, 26 Jul 2016 21:54:17 +0000 (14:54 -0700)]
use a different variable name for nested loop in bench.c (#80)
and declare it ahead of time to avoid "error: 'for' loop initial declarations are only allowed in C99 mode"
Tony Kelman [Sat, 16 Jul 2016 10:16:03 +0000 (03:16 -0700)]
Move -Wmissing-prototypes from Makefile to .travis.yml (#79)
since MSVC doesn't understand this flag, and the current
mechanism for building Julia with MSVC goes through the makefile
petercolberg [Wed, 13 Jul 2016 16:58:28 +0000 (12:58 -0400)]
Convert compiler warnings to errors for Travis builds (#73)
Steven G. Johnson [Wed, 13 Jul 2016 16:42:07 +0000 (12:42 -0400)]
added NEWS for #78
petercolberg [Wed, 13 Jul 2016 16:40:59 +0000 (12:40 -0400)]
Use versioned Unicode data URLs (#78)
This ensures the tests keep working when a new Unicode version is released.
Steven G. Johnson [Wed, 13 Jul 2016 16:39:05 +0000 (12:39 -0400)]
NEWS and version bump for 2.0.1 release, to come out shortly
Keno Fischer [Wed, 13 Jul 2016 16:33:50 +0000 (12:33 -0400)]
Fix incorrect use of `lbc` instead of `lbc_override` (#77)
Tony Kelman [Wed, 13 Jul 2016 16:18:40 +0000 (09:18 -0700)]
add appveyor badge to readme
[ci skip]
Steven G. Johnson [Wed, 13 Jul 2016 16:02:47 +0000 (12:02 -0400)]
NEWS update
Steven G. Johnson [Wed, 13 Jul 2016 15:00:17 +0000 (11:00 -0400)]
the ABI version was already bumped in #62, does not need to be bumped again in #70
Steven G. Johnson [Wed, 13 Jul 2016 14:57:37 +0000 (10:57 -0400)]
NEWS for 2.0
Keno Fischer [Wed, 13 Jul 2016 14:41:13 +0000 (10:41 -0400)]
Walk back ABI breaking changes (#76)
Steven G. Johnson [Tue, 12 Jul 2016 20:30:05 +0000 (16:30 -0400)]
update to Unifont 9 (for Unicode 9 charwidths) (#75)
Benito van der Zander [Tue, 12 Jul 2016 15:51:50 +0000 (17:51 +0200)]
Smaller tables (#68)
* convert sequences to utf-16 (saves 25kb)
* store sequence length in properties instead using -1 termination (saves 10kb)
* cache index for slightly faster data creation
* store lower/upper/title mapping in sequence array (saves 25kb). Add utf8proc_totitle, as title_mapping cannot be used to get the title codepoint anymore. Rename xxx_mapping to xxx_seqindex, so programs assuming a value with the old meaning fail at compile time
* change combination array data type to uint16 (saves 40kb)
* merge 1st and 2nd comb index (saves 50kb)
* kill empty prefix/suffix in combination array (saves 50kb)
* there was no need to have a separate combination start array, it can be merged in a single array
* some fixes
* mark the table as const again
* and regen
Steven G. Johnson [Tue, 28 Jun 2016 20:06:00 +0000 (16:06 -0400)]
note Unicode 9 support (from #70) in README
Keno Fischer [Tue, 28 Jun 2016 20:04:25 +0000 (16:04 -0400)]
Unicode 9 updates (#70)
* Updates for Unicode 9.0.0 TR29 Changes
- New rules GB10/(12/13) are used to combine emoji-zwj sequences/
(force grapheme breaks every two RI codepoints). Unfortunately this
breaks statelessness of grapheme-boundary determination. Deal with
this by ignoring the problem in utf8proc_grapheme_break, and by
hacking in a special case in decompose
- ZWJ moved to its own boundclass, update what is now GB9 accordingly.
- Add comments to indicate which rule a given case implements
- The Number of bound classes Now exceeds 4 bits, expand to 8 and
reorganize fields
* Import Unicode 9 data
* Update Grapheme break API to expose state override
* Bump MAJOR version
Steven G. Johnson [Wed, 1 Jun 2016 12:52:41 +0000 (08:52 -0400)]
Merge pull request #69 from JuliaLang/tk/cache
fix the travis cache
Tony Kelman [Wed, 1 Jun 2016 04:20:38 +0000 (21:20 -0700)]
fix the travis cache
certificate is expired on cache.e.ip.saba.us, it now lives at cache.julialang.org
Steven G. Johnson [Thu, 4 Feb 2016 15:57:25 +0000 (10:57 -0500)]
Merge pull request #66 from michaelnmmeyer/master
Fix overrun
Michaël Meyer [Thu, 4 Feb 2016 03:01:19 +0000 (04:01 +0100)]
Fix overrun
Steven G. Johnson [Wed, 9 Dec 2015 23:59:05 +0000 (18:59 -0500)]
Merge pull request #62 from michaelnmmeyer/master
Reduce the size of the binary.
Michaël Meyer [Wed, 9 Dec 2015 22:35:45 +0000 (23:35 +0100)]
Bump version number.
Michaël Meyer [Wed, 9 Dec 2015 18:55:48 +0000 (19:55 +0100)]
Reduce the size of the binary.
Use integers instead of pointers in Unicode tables. Saves 226 kb / 716 kb in the
compiled library.
Steven G. Johnson [Tue, 24 Nov 2015 21:53:05 +0000 (16:53 -0500)]
Merge pull request #61 from fgsch/issue_60
Silence warning with -Wextra
Federico G. Schwindt [Tue, 24 Nov 2015 20:09:10 +0000 (20:09 +0000)]
Silence warning with -Wextra
Fixes #60.
Steven G. Johnson [Sun, 1 Nov 2015 13:36:04 +0000 (08:36 -0500)]
update Unicode version in header-file comment
Steven G. Johnson [Sun, 1 Nov 2015 13:34:01 +0000 (08:34 -0500)]
update copyright statements to list recent contributors and year
Steven G. Johnson [Sun, 1 Nov 2015 13:10:02 +0000 (08:10 -0500)]
Merge pull request #59 from petercolberg/master
Version 1.3.1
Peter Colberg [Sun, 1 Nov 2015 00:51:36 +0000 (20:51 -0400)]
Update NEWS for version 1.3.1
Peter Colberg [Sun, 1 Nov 2015 00:51:26 +0000 (20:51 -0400)]
Increment patch version
Steven G. Johnson [Sat, 31 Oct 2015 22:13:25 +0000 (18:13 -0400)]
Merge pull request #58 from petercolberg/master
Fix build warnings
Peter Colberg [Sat, 31 Oct 2015 17:59:38 +0000 (13:59 -0400)]
Fix deprecated warnings with Julia 0.4
Peter Colberg [Fri, 30 Oct 2015 22:46:28 +0000 (18:46 -0400)]
Test `make install`
Generate reproducible manifest of installed files.
Peter Colberg [Fri, 30 Oct 2015 19:57:00 +0000 (15:57 -0400)]
Test `make clean`
Peter Colberg [Fri, 30 Oct 2015 19:27:18 +0000 (15:27 -0400)]
Fix sscanf argument type for format %x
Peter Colberg [Fri, 30 Oct 2015 19:24:34 +0000 (15:24 -0400)]
Fix missing static declarations for internal functions
Peter Colberg [Fri, 30 Oct 2015 19:22:09 +0000 (15:22 -0400)]
Fix implicit function declarations
Peter Colberg [Fri, 30 Oct 2015 19:13:48 +0000 (15:13 -0400)]
Move common test functions to separate module
This resolves warnings for missing function prototypes.
Peter Colberg [Fri, 30 Oct 2015 18:57:16 +0000 (14:57 -0400)]
Fix installation of shared library symlinks
Use relative symlinks that are independent of installation prefix.
Drop superfluous .so.MAJOR.MINOR symlink, which is and should never
be needed in practice. The purpose of shared library symlinks is to
provide libraries for compile-time linking (.so) and for run-time
linking using the SONAME (.so.MAJOR).
Peter Colberg [Fri, 30 Oct 2015 18:56:03 +0000 (14:56 -0400)]
Add missing files to `make clean`
Steven G. Johnson [Fri, 30 Oct 2015 16:48:43 +0000 (12:48 -0400)]
Merge pull request #57 from petercolberg/master
Fix MingW build test
Peter Colberg [Fri, 30 Oct 2015 04:52:49 +0000 (00:52 -0400)]
Fix MinGW build test
Peter Colberg [Fri, 30 Oct 2015 04:52:41 +0000 (00:52 -0400)]
Describe interactive debugging for appveyor